Skip to content

collect index formatting tests #19661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Feb 18, 2018
Merged

Conversation

jbrockmendel
Copy link
Member

It looks like PeriodIndex/TDI/DTI tests are using different rules for what constitutes test_indexing/test_setops. Double-checking before making a PR:

test_get_loc_* --> test_indexing
test_get_indexer_* --> test_indexing
test_insert_* --> test_indexing
test_where_* --> test_indexing
test_join_* --> test_setops
test_append_* --> test_setops
test_difference_* --> test_setops

Many of these at the moment are in e.g. test_ops or test_period/test_datetime.

@codecov
Copy link

codecov bot commented Feb 13, 2018

Codecov Report

Merging #19661 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #19661   +/-   ##
=======================================
  Coverage   91.58%   91.58%           
=======================================
  Files         150      150           
  Lines       48867    48867           
=======================================
  Hits        44755    44755           
  Misses       4112     4112
Flag Coverage Δ
#multiple 89.96% <ø> (ø) ⬆️
#single 41.75% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2fdf1e2...a5c00d1. Read the comment docs.

@gfyoung gfyoung added Refactor Internal refactoring of code Testing pandas testing functions or related to the test suite Indexing Related to indexing on series/frames, not to indexes themselves labels Feb 14, 2018
"'2011-01-01 10:00:00+00:00', 'NaT'], "
"dtype='datetime64[ns, UTC]', freq=None)""")

with pd.option_context('display.width', 300):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine. can you parameterize these (and others that look similar)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Managed to parametrize a couple of for loops. There is probably more than can be done in the next pass.

@jreback jreback removed the Refactor Internal refactoring of code label Feb 15, 2018
@jreback jreback added this to the 0.23.0 milestone Feb 18, 2018
@jreback jreback merged commit 6e37f87 into pandas-dev:master Feb 18, 2018
@jreback
Copy link
Contributor

jreback commented Feb 18, 2018

thanks!

@jbrockmendel jbrockmendel deleted the index_tests branch February 18, 2018 18:21
harisbal pushed a commit to harisbal/pandas that referenced this pull request Feb 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Indexing Related to indexing on series/frames, not to indexes themselves Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants